<!-- 属性名:background(bgr) -->

<!-- 属性值: -->
<!-- no-repeat:不平铺 -->
<!-- repeat-x:水平方向平铺 -->
<!-- repeat-y:垂直方向平铺 -->
<!-- repeat:平铺(默认值) -->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景图平铺方式</title>
    <style>
        div {
            width: 400px;
            height: 400px;
            background-color: pink;

            background-image: url(./狗.png);
            /* 不平铺:盒子的左上角显示一张背景图 */
            /* background-repeat: no-repeat; */
            /* background-repeat: repeat; */
            /* background-repeat: repeat-x; */
            background-repeat: repeat-y;
        }
    </style>
</head>
<body>
    <div>div标签</div>
</body>
</html>